@extends('home.default')
@section('content')
<!-- banner部分 -->
<div class="banner product" style="background: url('/storage/uploads/{{isset($banners->pic)?$banners->pic:""}}') no-repeat center top;background-size: cover;">
  <div class="title">
    <p>{{ isset($banners->title)?$banners->title:"" }}</p>
    <p class="en">{{ isset($banners->entitle)?$banners->entitle:"" }}</p>
  </div>
</div>
<!-- main部分 -->
<!-- main部分 -->
<div class="main-case">
  <div class="layui-container">
    <div class="layui-row">
@foreach ($case as $item)
      <div class="layui-inline content">
        <div class="layui-inline case-img"><img src="/storage/uploads/{{ $item->pic }}"></div>
        <p class="lable">{{ $item->title }}</p>
        <p>{{ $item->remark }}</p>
      </div>

@endforeach
    </div>
    <div id="casePages" style="width:1200px;height:47px;margin:0;">{{$case->links('vendor.pagination.default')}}</div>
  </div>
</div>
@endsection

